package com.longy.desensitized.vo.resp;

import com.longy.desensitized.util.annotation.DesensitizationField;
import com.longy.desensitized.util.enums.DesensitizedType;

import java.io.Serializable;

import lombok.Data;

/**
 * 
 * @TableName user
 */
@Data
public class UserResp implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 用户名
     */
    private String account;

    /**
     * 真实姓名
     */
    @DesensitizationField(type = DesensitizedType.NAME)
    private String realName;

    /**
     * 邮箱;
     */
    @DesensitizationField(type = DesensitizedType.EMAIL)
    private String email;

    /**
     * 手机号码;
     */
    @DesensitizationField(type = DesensitizedType.MOBILE)
    private String mobile;

    /**
     * 密码;
     */
    private String password;

    private static final long serialVersionUID = 1L;

}